
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>用户列表</title>
</head>
<body>
用户列表:
<hr>
<table width="500px" border="1">
    <tr>
        <th>用户id</th>
        <th>用户名</th>
        <th>昵称</th>
        <th>操作 </th>
    </tr>
    <c:forEach items="${userList}" var="user">
        <tr>
            <td>${user.id}</td>
            <td>${user.userCode}</td>
            <td>${user.userName}</td>
            <td><a href="/user/toUpdateUser?uid=${user.id}">修改</a>&nbsp; <a href="#">删除</a> </td>
        </tr>
    </c:forEach>

    <br>
    <a href="/user/toadd">新增</a>
</table>

</body>
</html>
